package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.RequirementInfo;
import com.git.smp.entity.RequirementInfoExtend;

public interface RequirementInfoMapper {
    int deleteByPrimaryKey(String qmsNo);

    int insert(RequirementInfo record);

    int insertSelective(RequirementInfo record);

    RequirementInfo selectByPrimaryKey(String qmsNo);

    int updateByPrimaryKeySelective(RequirementInfo record);

    int updateByPrimaryKey(RequirementInfo record);
    
    List<RequirementInfo> getRequirementInfoListByPage(RequirementInfoExtend record);
    
    List<RequirementInfo> getRequirementInfoList(@Param("query") String query);

    RequirementInfo getRequirementInfo(@Param("qmsNo") String qmsNo);
}